package com.xyy.saas.payment.dao.model;

import java.util.Date;

/**
 * 结算单详情
 * @author automodel
 * @date   2019/11/13
 */
public class SettleOrder {

    /**
     * 结算单状态 ： 未结算
     */
    public static Byte STATUS_NO = 0;

    /**
     * 结算单状态 ： 结算中
     */
    public static Byte STATUS_IN = 1;

    /**
     * 结算单状态 ： 已完成
     */
    public static Byte STATUS_FINISH = 2;

    /**
     * 结算单状态  ： 失败
     */
     public static Byte STATUS_FAILED =3;


    /**
     * 自增主键id
     */
    private Long id;

    /**
     * 业务方类型
     */
    private String businessOrderType;

    /**
     *  业务结算单号
     */
    private String businessSettleNo;

    /**
     * 第三方渠道名
     */
    private String channel;

    /**
     * 渠道结算单号
     */
    private String channelRoyaltyNo;

    /**
     * 结算日期 精确到天
     */
    private Date royaltyDay;

    /**
     * 回调地址
     */
    private String callBack;

    /**
     * 分润状态（0未结算 1结算发起 2 已结算)
     */
    private Byte status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 成功时间
     */
    private Date successTime;

    /**
     * 状态修改时间
     */
    private Date updateTime;

    /**
     * 结算单号
     */
    private String settleNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getChannelRoyaltyNo() {
        return channelRoyaltyNo;
    }

    public void setChannelRoyaltyNo(String channelRoyaltyNo) {
        this.channelRoyaltyNo = channelRoyaltyNo;
    }

    public Date getRoyaltyDay() {
        return royaltyDay;
    }

    public void setRoyaltyDay(Date royaltyDay) {
        this.royaltyDay = royaltyDay;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getSuccessTime() {
        return successTime;
    }

    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getBusinessOrderType() {
        return businessOrderType;
    }

    public void setBusinessOrderType(String businessOrderType) {
        this.businessOrderType = businessOrderType;
    }

    public String getBusinessSettleNo() {
        return businessSettleNo;
    }

    public void setBusinessSettleNo(String businessSettleNo) {
        this.businessSettleNo = businessSettleNo;
    }

    public String getCallBack() {
        return callBack;
    }

    public void setCallBack(String callBack) {
        this.callBack = callBack;
    }

    public String getSettleNo() {
        return settleNo;
    }

    public void setSettleNo(String settleNo) {
        this.settleNo = settleNo;
    }
}